package org.meteorshower.employee_depart.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

/**
 * 考评实体类，映射完成
 * @table appraise
 * */
@Data
@Accessors(chain = true)
@TableName("appraise")
public class EmpAppraise implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableField("id")
    private String id;
    @TableField("e_id")
    private Integer eId;
    @JsonFormat(pattern = "yyyy-MM-dd", timezone ="GMT+8" )
    @TableField("app_date")
    private Date appDate;

    /**
     * 为空则表示培训未完成
     * */
    @TableField("app_result")
    private String appResult;

    @TableField("app_content")
    private String appContent;

    @TableField("remark")
    private String remark;
}